package com.yl.auth.model.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.util.List;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiParam;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 *
 * </p>
 *
 * @author L
 * @since 2023-06-20
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("tuijianren")
@ApiModel("推荐人实体类")
public class TuiJianRen implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键Id
     */
      @TableId(value = "id", type = IdType.AUTO)
      @ApiModelProperty("主键Id")
    private Integer id;

    /**
     * 姓名
     */
    @ApiModelProperty("姓名")
    private String name;

    /**
     * 性别
     */
    @ApiModelProperty("性别")
    private String gender;

    /**
     * 联系方式
     */
    @ApiModelProperty("联系方式")
    private String phone;

    /**
     * 所属组织
     */
    @ApiModelProperty("所属组织")
    private String organization;

    /**
     * 推荐人次
     */
    @ApiModelProperty("推荐人次")
    private Integer reference;

    /**
     * 推荐积分
     */
    @ApiModelProperty("推荐积分")
    private Long integral;

    /**
     * 逻辑删除
     */
    @ApiModelProperty("逻辑删除")
    @TableField
    @TableLogic
    private Integer isDelete;

    @ApiModelProperty("积分奖励")
    private Long reward;
}
